package com.wty.design.structural.facade.drawShape;

/**
 * @Author wangtengyu
 * @Create 2018-09-19-9:01
 */
public class Test {
    public static void main(String[] args) {
        //v1 not facade
        Circle circle=new Circle();
        Rectangle rectangle=new Rectangle();
        Square square=new Square();
        circle.draw();
        rectangle.draw();
        square.draw();

        //v2 facade
//        ShapeMaker shapeMaker=new ShapeMaker();
//        shapeMaker.drawCricle();
//        shapeMaker.drawRectangle();
//        shapeMaker.drawSquare();


    }

}
